Method and test drive for detecting addressing errors in control devices

ABSTRACT

The invention relates to a method for detecting addressing errors in control devices of motor vehicles, whereby test data are input into all addressable memory cells by means of a present model, then read out and compared with the test data.

BACKGROUND AND SUMMARY OF THE INVENTION

The present invention relates to a method and a test device for detecting addressing errors in control units.

For safety reasons, control units for motor vehicles and, in particular, for braking systems and systems controlling the dynamics of the vehicle movement, such as ABS, ASR, ESP and similar systems, have a redundant construction with two microprocessors which monitor one another.

For reasons of cost, however, control units are also applied which use only one microprocessor.

An important monitoring operation consists of testing whether certain memory cells can be written to and read.

In practice, so-called addressing errors also occur; that is, during a writing operation onto a certain memory cell, a different cell is unintentionally inscribed. It may occur in this case that only the wrong, that is, the non-addressed cell is inscribed, or that the addressed as well as a non-addressed cell are inscribed. Specifically, the latter error cannot be detected by means of conventional test devices.

It is therefore an object of the invention to further develop a method and a test device of the above-mentioned type such that any addressing errors are also detected in a perfect manner.

This object is achieved by a method and test device for detecting addressing errors in control units, wherein test data preset when the control unit is switched off by the user are written into all addressable memory cells, and are subsequently read out again and are compared with the test data. Advantageous embodiments and further developments are described and claimed herein.

It is the basic principle of the invention to write test data, which are preset when the control unit is switched off by the user, into all addressable memory areas, to subsequently read them out again, and to compare them with the test data.

The preset test data are preferably defined such that different test data are available for each addressable area.

According to a further development of the invention, several different test data are written into the addressable memory cells and are read out again in a successive manner with respect to time. According to another further development of the invention, the test data are preset such that a certain byte of an address, preferably the low byte, is written into the memory cell of this preset address.

According to another further development of the invention, the results of the comparison are stored and, if an error is detected, it is signalled to the user when the control unit is switched back on.

In the following, the invention will be explained in greater detail by means of an embodiment in connection with the drawing.

BRIEF DESCRIPTION OF THE DRAWING

The single FIG. 1 is a schematic diagram of the test device according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE DRAWING

The control unit has an addressable memory 1 with a plurality of individually addressable memory cells 3, into which data (piece of data 1 to piece of data n can be written in and can be read out from there. The addresses (address 1 to address n) of these memory cells 3 are marked by reference number 2. A control 4 detects whether the normal operation of the control unit of a vehicle has been concluded, for example, in that the ignition switch 5 is opened. The control 4 will then initiate that a test data generator 6 for all addresses (address 1 to address n) writes respective predetermined models of data into the memory cells 3, specifically preferably according to a preset model. These data are also available for a later comparison, for example, in an intermediate memory 7. After this writing operation, the control 4 initiates that the data are read out and are fed to a comparator 8, where they are compared with the intermediately stored data from the intermediate memory 7. If the data read out of the memory 1 do not correspond to the intermediately stored data from the intermediate memory 7, an error message is emitted to an error memory 9 and is stored there. When the ignition switch 5 is switched on again, a reading takes place out of the error memory 9 and is indicated to the driver in a display by means of warning lights or acoustic indicating devices.

In practice, the functions of the control 4, of the test data generator 6, of the intermediate memory 7 and of the comparator 8 can be taken over by a microcontroller, in which case the intermediate memory 7 also does not have to be physically present, because the test data are generated by the microcontroller according to a preset model and can therefore be reproduced at any time.

After the switching-off of the control unit, thus, for example, when the driver switches off the ignition, and it is therefore known that the control unit is not used for its normal function, such as an ABS control, a comprehensive and therefore time-intensive test is carried out, which cannot be implemented during the normal control functions.

After the switching-on of the control unit, a rough test can additionally be carried out during which predefined data are written into the cells to be tested and, after each writing operation of a cell, the complete memory is read out, and it is checked whether these data actually exist only at the one predetermined address.

Thus, not only the normal memory errors, that is, whether or not a cell can be inscribed, but also addressing errors, can be determined by means of the invention. 

1-8. (canceled)
 9. A method of detecting addressing errors in a control unit, the method comprising the acts of: writing preset test data of a preset model in a successive manner with respect to time into all addressable memory cells of the control unit while the control unit is deactivated by a user with respect to a normal operation; subsequently reading out and comparing data from the addressable memory cells with the test data; generating an error message, if applicable, as a function of the comparing act; and wherein for all addressable memory cells, different test data are written in accordance with the preset model, and wherein the error message is stored if applicable and emitted only when the control unit is reactivated.
 10. The method according to claim 9, wherein different models of test data are written in successively with respect to time.
 11. The method according to claim 9, wherein the preset model is a defined byte of a respective address of the memory cells.
 12. The method according to claim 10, wherein the preset model is a defined byte of a respective address of the memory cells.
 13. A test device for detecting addressing errors in a control unit having an addressable memory with several individually addressable memory cells, comprising: a test generator which writes a preset model of test data into the individually addressable memory cells; a comparator which reads out the test data previously written into the individually addressable memory cells and compares the read out test data with the preset model of test data; a control operably coupled to activate the test data generator when the control unit is deactivated with respect to its normal operation; an error memory coupled to the comparator, in which faulty comparison results are stored and emitted only when the control unit is reactivated.
 14. A method for detecting addressing errors in control units, the method comprising the acts of: inputting test data into all addressable memory cells of the control unit via a preset model when the control unit is switched-off by the user; subsequently reading out the input test data; and comparing the subsequently read out input test data with the test data input via the preset model in order to detect any errors.
 15. The method according to claim 14, wherein the preset model writes in different test data for each of the individually addressable memory cells.
 16. The method according to claim 15, wherein different models of test data are written in successively with respect to time.
 17. The method according to claim 14, wherein the preset model is a selected byte of a respective address of the addressable memory cells.
 18. The method according to claim 14, wherein, as a function of the comparing act, an error message is generated and stored, the error message being emitted when the control unit is switched on again.
 19. A test device for detecting addressing errors in a control unit having an addressable memory with several individually addressable memory cells, comprising: a test data generator operably coupled to write into the individually addressable memory cells test data in accordance with a preset model; a comparator operably configured to read out the previously written in test data from the individually addressable memory cells and compare the read out test data with the written in test data in accordance with the preset model in order to detect addressing errors.
 20. The test device according to claim 19, further comprising a control operably configured to activate the test data generator when the control unit is switched-off.
 21. The test device according to claim 19, further comprising: an error memory coupled to the comparator, in which said error memory faulty comparison results are stored and are emitted when the control unit is switched back on via a switch.
 22. The test device according to claim 20, further comprising: an error memory coupled to the comparator, in which said error memory faulty comparison results are stored and are emitted when the control unit is switched back on via a switch. 